//
//  MyAnnotation.h
//  PigMarket
//
//  Created by 张敬 on 2019/8/30.
//  Copyright © 2019年 pigmarket.oc. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger,PinType)
{
  PinType_Wonman = 1,
  PinType_Man = 2,
};


@interface MyAnnotation : NSObject<MKAnnotation>

@property (nonatomic,assign) CLLocationCoordinate2D coordinate;
@property (nonatomic,copy) NSString *name;
@property (nonatomic,copy) NSString *title;
@property (nonatomic, copy) NSString *imageUrl;
@property (nonatomic,retain) NSNumber *type;

@end

NS_ASSUME_NONNULL_END
